package com.kkyy.msystem.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kkyy.msystem.entity.MvsEntity;
import com.kkyy.msystem.entity.UsersEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UsersDao extends BaseMapper<UsersEntity> {
    UsersEntity selectByUsername(String username);

    UsersEntity getUserByUsername(String username);

    void updatePermissionById(Integer id);

    void updatePermissionById2(Integer id);

    void updateUser(@Param("id") String id, @Param("mobile") String mobile, @Param("fullname") String fullname);
}